#include "BDTime.h"


BDTime::BDTime()
{
}


BDTime::~BDTime()
{
}

void BDTime::Start()
{
	m_Time = std::chrono::steady_clock::now();
}

long long BDTime::Elapsed()
{
	std::chrono::steady_clock::time_point end = std::chrono::steady_clock::now();
	std::chrono::steady_clock::duration elapsed = end - m_Time;
	std::chrono::milliseconds ms = std::chrono::duration_cast<std::chrono::milliseconds>(elapsed);
	return ms.count();
}

